{include file="header.html"}
<script type="text/javascript">
</script>
<style type="text/css">
<!--
body {background: none}
#rightTop p {padding-top: 5px;}
#rightCon { list-style:none; }
#rightCon li { float:left; margin:10px; }
#rightCon .page_item { margin:5px; text-align:center; width:90px; height:120px; }
#rightCon .page_item h3 { background:#eee; border:#ddd 1px solid; color:#4DA1E0; margin-bottom:3px; height:20px; line-height:20px; font-size:13px; }
#rightCon .page_item div { background:#eee; border:#ddd 1px solid; height:85px; line-height:97px; }
#rightCon .page_item input { padding:0px 5px; margin-top:50px; }
-->
</style>
<div id="rightTop">
  <ul class="subnav">
    <li><span>{$lang.edit_templates}</span></li>
  </ul>
</div>
<ul id="rightCon">
    <!--{foreach from=$pages item=page_url key=page}-->
    <li>
        <div class="page_item">
            <h3>{$lang.$page}</h3>
            <div>
                <form action="index.php">
                <input type="hidden" name="app" value="wap_template" />
                <input type="hidden" name="act" value="edit_B" />
                <input type="hidden" name="page" value="{$page}" />
                <input {if $is_ie}type="button" onclick="openwindow('{$page}')"{else}type="submit"{/if} value="{$lang.edit}" />
                </form>
            </div>
        </div>
    </li>
    <!--{/foreach}-->
</ul>
<!--{if $is_ie}-->
<script>
　　function openwindow(page) {
　　window.open ("index.php?app=wap_template&act=edit&page="+page, "newwindow", "height=586, width=320, toolbar =no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no") //写成一行
　　}
　　</script>
<!--{/if}-->
<div style="clear:both"></div>
{include file="footer.html"}
